package edu.hubu.phoneorder.service.impl;

import edu.hubu.phoneorder.mapper.SalesAmountMapper;
import edu.hubu.phoneorder.pojo.SalesAmount;
import edu.hubu.phoneorder.service.SalesAmountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wise-wang
 * @time 2021.12.09
 * @describe Service层，用于实现封装对表操作方法接口的类
 */
@Service
public class SalesAmountServiceImpl implements SalesAmountService {
    @Autowired
    private SalesAmountMapper salesAmountMapper;

    @Override
    public List<SalesAmount> getList() {
        return salesAmountMapper.getList();
    }
}
